home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 2187 < prev    next >
Encoding:
Text File  |  1996-08-06  |  1.4 KB  |  40 lines

  1. Newsgroups: comp.lang.c++
  2. Path: cs.vu.nl!jalten
  3. From: jalten@cs.vu.nl (Alten JP)
  4. Subject: Re: HELP! Borland C++ font compile problem!
  5. Nntp-Posting-Host: kits.cs.vu.nl
  6. References: <4ddort$qpc@newsbf02.news.aol.com>
  7. Sender: news@cs.vu.nl
  8. Organization: Fac. Wiskunde & Informatica, VU, Amsterdam
  9. Date: Tue, 16 Jan 1996 10:30:51 GMT
  10. X-Newsreader: TIN [version 1.2 PL2]
  11. Message-ID: <DL9rvF.4KB.0.-s@cs.vu.nl>
  12.  
  13. MrBig0233 (mrbig0233@aol.com) wrote:
  14. : I have used Resource Workshop for Windows to make a font file, and c++ to
  15. : compile it. When I compile the font compiler program in c++, the error
  16. : message says:
  17.  
  18. : Linker Error: Undefined symbol _main in module WINMAIN
  19.  
  20. I believe you forgot to link the default libraries and run-time-objects
  21. to your program. Usually these will get linked automatically, but you
  22. can suppress this.
  23.  
  24. Try creating a new target-node to your program and see what happens.
  25. Also, this should not be a resource problem, so even if you eliminate
  26. the .rc from you project you'll still get the same message.
  27.  
  28. One more thing, a font file should be made out of a .DLL , not a 
  29. .EXE, so that might help too.
  30.  
  31. Good Luck,
  32.  
  33. Jelle Paul
  34.  
  35. --
  36. +-------------------------------------------------------+
  37. | Jelle Paul Alten                |   jalten@cs.vu.nl   |
  38. | Vrije Universiteit Amsterdam    |                     |
  39. +-------------------------------------------------------+
  40.